package org.edith.shiro.service.impl;


import org.edith.shiro.dao.SysUserRoleDAO;
import org.edith.shiro.service.SysUserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

/**
 *  用户与角色业务实现
 */
@Service("edithSysUserRoleService")
public class SysUserRoleServiceImpl implements SysUserRoleService {
    @Autowired
    private SysUserRoleDAO sysUserRoleDAO;
    @PostConstruct
    private void createTable(){
        sysUserRoleDAO.createTable();
    }
}